﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace ProjectCore.Domain.Model.Entity
{
    public  class RoleMenus
    {
        //设置主键
        [Key]
        public int ID { get; set; }

        //角色ID（引用Roles表RoleID）
        public int RoleID { get; set; }

        //权限ID（引用Menu表MenuID）
        public int MenuID { get; set; }

        public void Add(List<RoleMenus> roleMenus)
        {
            throw new NotImplementedException();
        }
    }
}
